﻿@model MenuListModel
@{
    string className = string.Format("treegrid-{0}", Model.Id);
    string pClassName = string.Empty;
    int menuType = (int)Model.MenuType;
    if (Model.ParentId > WebSiteConfig.DefaultParentID) { pClassName = string.Format("treegrid-parent-{0}", Model.ParentId);}
    <tr class="@className @pClassName" idField="@Model.Id" menuType="@menuType">
        <td><span class="@Model.iconCls">&nbsp;@Model.MenuName</span>
        </td>
        <td>@Model.MenuUrl
        </td>
        <td>@Model.MenuTypeName
        </td>
        <td>@Model.CreateTime.Value.ToCommon()
        </td>
    </tr>
}
